package com.xbjtech.shiro;

import org.apache.shiro.authc.AuthenticationToken;

public class MobileYzmToken implements AuthenticationToken {

	private static final long serialVersionUID = 2364241553148519183L;
	
	private String mobile;
	private String password;
	
	public MobileYzmToken() {}
	
	public MobileYzmToken(String mobile, String password) {
		super();
		this.mobile = mobile;
		this.password = password;
	}

	public Object getPrincipal() {
		return this.mobile;
	}

	public Object getCredentials() {
		return this.password;
	}

}
